/*
 * @Author: 邱狮杰
 * @Date: 2021-06-27 13:40:54
 * @LastEditTime: 2021-06-27 13:41:33
 * @FilePath: /catch-null-value/src/types/comment.ts
 * @Description: 注释类型
 */
export interface positionTypes {
  line: number;
  column: number;
}

export interface sourceLocationTypes {
  start: positionTypes;
  end: positionTypes;
  filename: string | undefined;
  identifierName: string | undefined;
}

export interface leadingCommentsTypes {
  type: string;
  value: string;
  start: number;
  end: number;
  loc: sourceLocationTypes;
}
